package com.kongchengji.zhanguafou.utils;

public class BuildCustomerMsgUtil {
    /**
     * 构造客服消息json
     * @param content
     * @param openId
     * @return
     */
    public static String buildMessage(String content, String openId){
        String contentJson = "{" +
                "    \"touser\":\"" + openId + "\"," +
                "    \"msgtype\":\"text\"," +
                "    \"text\":" +
                "    {" +
                "         \"content\":\"" + content + "\"" +
                "    }" +
                "}";
        return contentJson;
    }
}
